package com.onluy.provider.department.entity;

import com.onluy.frameworkcloud.base.entity.Entity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class SysUser extends Entity {

    @ApiModelProperty(value="用户ID" )
    @NotNull(message = "部门ID不能为空！")
    private Long userId;

    @ApiModelProperty(value="地市编码")
    private String eparchyCode;

    @ApiModelProperty(value="部门ID")
    @NotNull(message = "部门ID不能为空！")
    private Long departId;


    @NotNull(message = "登录名不能为空！")
    @ApiModelProperty(value="登录名" ,required=true)
    private String webName;


    @ApiModelProperty(value="用户密码")
    private String webPasswd;


    @ApiModelProperty(value="姓名")
    @NotNull(message = "姓名不能为空！")
    private String userName;


    @ApiModelProperty(value="入库日期")
    private Date inDate;


    @ApiModelProperty(value="入库工号")
    private String inStaffId;


    @ApiModelProperty(value="是否再用 0在用  1注销  2失效")
    private String removeTag;


    @ApiModelProperty(value="最后操作日期")
    private Date lastDotime;


    @ApiModelProperty(value="最后更新日期")
    private Date updateTime;


    @ApiModelProperty(value="备注")
    private String userRemark;


    @ApiModelProperty(value="证件类型")
    private String psptTypeCode;


    @ApiModelProperty(value="证件编码")
    private String psptId;


    @ApiModelProperty(value="性别 0 男 1 女")
    private String sex;


    @ApiModelProperty(value="电话")
    private String phone;


    @ApiModelProperty(value="电子邮件")
    private String email;


    @ApiModelProperty(value="地址")
    private String address;


    @ApiModelProperty(value="qq")
    private String qq;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getEparchyCode() {
        return eparchyCode;
    }

    public void setEparchyCode(String eparchyCode) {
        this.eparchyCode = eparchyCode == null ? null : eparchyCode.trim();
    }

    public Long getDepartId() {
        return departId;
    }

    public void setDepartId(Long departId) {
        this.departId = departId;
    }

    public String getWebName() {
        return webName;
    }

    public void setWebName(String webName) {
        this.webName = webName == null ? null : webName.trim();
    }

    public String getWebPasswd() {
        return webPasswd;
    }

    public void setWebPasswd(String webPasswd) {
        this.webPasswd = webPasswd == null ? null : webPasswd.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Date getInDate() {
        return inDate;
    }

    public void setInDate(Date inDate) {
        this.inDate = inDate;
    }

    public String getInStaffId() {
        return inStaffId;
    }

    public void setInStaffId(String inStaffId) {
        this.inStaffId = inStaffId == null ? null : inStaffId.trim();
    }

    public String getRemoveTag() {
        return removeTag;
    }

    public void setRemoveTag(String removeTag) {
        this.removeTag = removeTag == null ? null : removeTag.trim();
    }

    public Date getLastDotime() {
        return lastDotime;
    }

    public void setLastDotime(Date lastDotime) {
        this.lastDotime = lastDotime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserRemark() {
        return userRemark;
    }

    public void setUserRemark(String userRemark) {
        this.userRemark = userRemark == null ? null : userRemark.trim();
    }

    public String getPsptTypeCode() {
        return psptTypeCode;
    }

    public void setPsptTypeCode(String psptTypeCode) {
        this.psptTypeCode = psptTypeCode == null ? null : psptTypeCode.trim();
    }

    public String getPsptId() {
        return psptId;
    }

    public void setPsptId(String psptId) {
        this.psptId = psptId == null ? null : psptId.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }
}